package codetop.microsoft.T40;

import util.ListUtil;

import java.util.List;

/**
 * @Author: 18362
 * @Create: 2022-09-07 13:51:05 星期三
 */
public class M40 {
    public static void main(String[] args) {
        int[] candidates = ListUtil.parseIntArray("[2,5,2,1,2]");
        List<List<Integer>> results = new Solution().combinationSum2(candidates, 5);
        for (List<Integer> result : results) {
            for (Integer x : result) {
                System.out.print(x + " ");
            }
            System.out.println();
        }
    }
}
